package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.common.dto.TagProducer;
import com.ttg.common.entities.BasePage;
import com.ttg.model.pojo.BankCardDataInfo;
import com.ttg.model.vo.VipBindAccountVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author zhangHongYuan
 * @description
 * @date 2024/4/16 16:20
 */
public interface BankCardDataInfoMapper extends BaseMapper<BankCardDataInfo> {

    BasePage<VipBindAccountVO> getVipBindCardPage(BasePage<VipBindAccountVO> basePage, @Param("vipId") String vipId);

    List<Long> getVipIdsByTags(@Param("tags") List<TagProducer> tags, @Param("key") String key);

    List<BankCardDataInfo> existsMap(@Param("existsWhere")List<Map<String, String>> existsWhere);

    BasePage<BankCardDataInfo> getVipBindAccountPage(BasePage<BankCardDataInfo> page, @Param("vipId") String vipId);
}
